﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;

namespace BlueMonkey.Interfaces
{
    public interface ICourse
    {
        /// <summary>
        /// Getting initial data.
        /// </summary>
        /// <param name="init"></param>
        /// <returns></returns>
        bool Initial(DataSet init);

        /// <summary>
        /// Re-initial data.
        /// </summary>
        void Refresh();

        /// <summary>
        /// Add new course name.
        /// </summary>
        /// <param name="courseName"></param>
        /// <returns>Can add some course or not.</returns>
        bool Add(string courseName);

        /// <summary>
        /// Remove specify course by ID.
        /// </summary>
        /// <param name="courseID"></param>
        /// <returns>Bool. Can delete or not.</returns>
        bool Delete(string courseID);

        DataSet GetCourse();
    }
}
